import { observable, computed, action } from 'mobx';

class UserStore {
  @observable count = 0
  @observable name = 'vurtne'

  @action changeName = () => {
    this.name = 'test'
  }

  @computed get addCount(){
    return this.count ++ 
  }
}

export default new UserStore();